package com.wv.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wv.model.system.SysRole;
import com.wv.model.system.condition.SysRoleCondition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysRoleDao extends SpiceBaseMapper<SysRole> {

    List<SysRole> selectByUserId(@Param("id") String id);

    List<SysRole> selectPageList(SysRoleCondition sysRoleCondition);
}
